package com.bobo.netty.dao.chat;

import com.bobo.netty.dao.chat.po.UserFriendPO;
import com.bobo.netty.dao.chat.po.UserFriendPOExample;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface UserFriendMapper {
    long countByExample(UserFriendPOExample example);

    int deleteByExample(UserFriendPOExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(UserFriendPO record);

    int insertSelective(UserFriendPO record);

    List<UserFriendPO> selectByExample(UserFriendPOExample example);

    UserFriendPO selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") UserFriendPO record, @Param("example") UserFriendPOExample example);

    int updateByExample(@Param("record") UserFriendPO record, @Param("example") UserFriendPOExample example);

    int updateByPrimaryKeySelective(UserFriendPO record);

    int updateByPrimaryKey(UserFriendPO record);
}
